#ifndef OVERFLAWTIMES_H
#define OVERFLAWTIMES_H

#include <QWidget>
#include <QDateTime>
typedef struct EveryRow
{
    QString dataName;
    float k=1;
    QString type="S";           //S=1 U=2 X=3 B=2
    int bit=16;            //16 32 64
    float min=0;
    float max=1024;
    int overflowTimes=0;
    QDateTime overflowDateTime[30];
    int overflowDateTimeCount=0;


}EveryRow;

namespace Ui {
class OverFlawTimes;
}

class OverFlawTimes : public QWidget
{
    Q_OBJECT

public:
    explicit OverFlawTimes(QWidget *parent = nullptr);
    ~OverFlawTimes();
    void ItemInit();
    EveryRow *row=nullptr;                                           //存储用来显示时间的时间数据
    void UpDate();
private:
    Ui::OverFlawTimes *ui;
};

#endif // OVERFLAWTIMES_H
